<img style="float:left" src="core.php/photo/thumbnail/id/<?php echo $photoId;?>/type/mini">
<div><span class="icon">&nbsp;</span><?php echo $name;?></div>
<div><span class="icon">&nbsp;</span><?php echo $visits;?> visitas a tu perfil</div>
<ul class="normal-list" style="clear:left">
<?php 

	foreach($friendRequests as $request){
	$user = $request->getRequester();
	?>
	<li>
		<span class="icon ui-icon ui-icon-person"></span><a style="text-decoration: none; font-weight: bold;"><?php echo $user->getFirstName()." ".$user->getFirstName();?></a> <span class="message"><?php echo __("wants to be your friend")?></span>
		<div><button class="accept" requestid="<?php echo $request->getUserRequesterId(); ?>"><?php echo __("Accept");?></button>
		<button class="ignore" requestid="<?php echo $request->getUserRequesterId(); ?>"><?php echo __("Ignore");?></button></div>
	</li>
	<?php 
}?>

<?php 

	if($photoComments > 0){
		if($photoComments == 1)
			$message = __("comment on photo");
		else
			$message = __("photo comments");
	?>
	<li>
		<span class="icon ui-icon ui-icon-comment"></span><a style="text-decoration: none; font-weight: bold;" href="#album/newComments"><?php echo $photoComments;?> <?php echo $message; ?></a>
	</li>
	<?php 
}?>

<?php 

	if($photoTags > 0){
		if($photoTags == 1)
			$message = __("tag on photo");
		else
			$message = __("photo tags");
	?>
	<li>
		<span class="icon ui-icon ui-icon-tag"></span><a style="text-decoration: none; font-weight: bold;" href="#album/newTags"><?php echo $photoTags;?> <?php echo $message; ?></a>
	</li>
	<?php 
}?>

<?php 

	if($profileComments > 0){
		if($profileComments == 1)
			$message = __("comment");
		else
			$message = __("comments");
	?>
	<li>
		<span class="icon ui-icon ui-icon-comment"></span><a style="text-decoration: none; font-weight: bold;" href="#profile"><?php echo $profileComments;?> <?php echo $message; ?></a>
	</li>
	<?php 
}?>


<?php 

	if($privateMessages > 0){
		if($privateMessages == 1)
			$message = __("private message");
		else
			$message = __("private messages");
	?>
	<li>
		<span class="icon ui-icon ui-icon-mail-closed"></span><a style="text-decoration: none; font-weight: bold;" href="#privateMessage"><?php echo $privateMessages;?> <?php echo $message; ?></a>
	</li>
	<?php 
}?>

<!-- 
<li><span class="icon ui-icon ui-icon-comment"></span><a style="text-decoration: none; font-weight: bold;" href="#profile/load/id/56">13 comentarios en eventos</a></li>
<li><span class="icon ui-icon ui-icon-signal-diag"></span><a style="text-decoration: none; font-weight: bold;" href="#profile/load/id/56">5 invitaciones a eventos</a></li>
<li><span class="icon ui-icon ui-icon-script"></span><a style="text-decoration: none; font-weight: bold;" href="#profile/load/id/56">5 invitaciones de pagina</a></li>
<li><span class="icon ui-icon ui-icon-help"></span><a style="text-decoration: none; font-weight: bold;" href="#profile/load/id/56">5 invitaciones de encuestas</a></li>
 -->
</ul>